// MyBitmap.h: interface for the CMyBitmap class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYBITMAP_H__E1A07316_74B2_4C2F_9CF6_94C9C4AF76A5__INCLUDED_)
#define AFX_MYBITMAP_H__E1A07316_74B2_4C2F_9CF6_94C9C4AF76A5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000



class CMyBitmap  : public CObject
{
public:
	void add(CBitmap* pb);
	void del();
	DECLARE_SERIAL( CMyBitmap )
	BOOL load(CBitmap* pb);
	void init(CDC* pDC);
	CBitmap* pBitPic;
	CMyBitmap();
	virtual ~CMyBitmap();
	virtual void Serialize( CArchive& archive );
	BITMAP  bm;  
	BITMAPINFOHEADER   bi;
	DWORD dwBmBitsSize;
	byte* pbyte;
	DWORD x,y;



};

#endif // !defined(AFX_MYBITMAP_H__E1A07316_74B2_4C2F_9CF6_94C9C4AF76A5__INCLUDED_)
